{% extends "base.html" %} 
{% block title %} Wei's Web2.0 Lab -- Home{% endblock %}
{% block head %}
<!-- markItUp! -->
<script type="text/javascript" src="scripts/markitup/jquery.markitup.pack.js"></script>
<!-- markItUp! toolbar settings -->
<script type="text/javascript" src="scripts/markitup/sets/default/set.js"></script>
<!-- markItUp! skin -->
<link rel="stylesheet" type="text/css" href="scripts/markitup/skins/markitup/style.css" />
<!--  markItUp! toolbar skin -->
<link rel="stylesheet" type="text/css" href="scripts/markitup/sets/default/style.css" />

<script type="text/javascript">

	$(document).ready(function() {
	   $("#article_content").markItUp(mySettings);
	});
</script>
{% endblock %}
{% block navTab %}
    <li class="active"><a href="/" accesskey="1" title="">Home</a></li>
    <li><a href="http://weibloog.appspot.com" accesskey="2" title="" target="_blank">Blog</a></li>
    <li><a href="/gadgets" accesskey="3" title="">Gadgets</a></li>
    <li><a href="/photo" accesskey="4" title="">Photo Album</a></li>
    <li><a href="/about" accesskey="5" title="">About Me</a></li>
{% endblock %} 
{% block content %}
	<h2>{{page_title}}</h2>
	<form method="post" action="cover_article_handler">
		<input type="hidden" name="action" value="{{action}}" />
		<input type="hidden" name="article_id" value="{{article_id}}" />
		<span style="font-size: 14px; font-weight:bold;">Create a title (required):</span>
		<input style="width:400px;" type="text" name="article_title" value={{article_title}}/>
		<textarea id="article_content" name="article_content">
		{{article_content}}
		</textarea>
		<input type="submit" value="{{button_text}}" />
		<input type="submit" value="Cancel" />
	</form>
{% endblock %} 